package com.Calculator.models.impl;

import com.Calculator.models.iFunctionName;

public class KeysName implements iFunctionName {
    // 计算器按键名字
    private String[] keys;

    public KeysName() {
        keys = new String[]{"7", "8", "9", "4", "5", "6", "1", "2", "3", "+/-", "0", "."};
    }

    @Override
    public String[] getName() {
        return keys;
    }

    @Override
    public int getLength() {
        return keys.length;
    }

    @Override
    public String[] setName(String[] keys) {
        this.keys = keys;
        return keys;
    }
}
